Preview - Coding Through Ecology - Bridges To Ct-Stem

Analyzing the code behind the blocks


Now we will look at the computer code produced from your blocks.

Scroll down and click on the triangle next to "NetLogo Code" 

Drag some blocks over and look at the code that shows up in "NetLogo Code"

Answer the questions below.


Questions

Please answer the questions below.

Look through the "NetLogo code". What is the copyright year and who owns it?


Look through the "NetLogo code". What is the size of a wolf?

1
2
3
4
5
6
7
8
9
10

Look through the "NetLogo code". What is the maximum number of sheep that will be allowed in the model?

1
10
100
1000
10000
100000
1000000

What does the "Hatch" block do?


Challenge: According to the code, what will happen "if" there are more than the maximum number of sheep?


Notes

These notes will appear on every page in this lesson so feel free to put anything here you'd like to keep track of.